import './assets/styles/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import './router/permission'

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import locale from 'element-plus/es/locale/lang/zh-cn';

import ElIcons from './components/ElIcons.vue';
import ElMoney from './components/ElMoney.vue';
import EmptyImg from './components/EmptyImg.vue';

createApp(App)
  .component('ElIcons', ElIcons)
  .component('ElMoney', ElMoney)
  .component('EmptyImg', EmptyImg)
  .use(createPinia())
  .use(router)
  .use(ElementPlus, { locale })
  .mount('#app')